package com.example.studyPlatform.service.protocol;

import com.example.studyPlatform.bean.User;

import java.util.Optional;

public interface RegisterService {
    Optional<User> register(User user, String verCode);
    boolean checkUserName(String username);
}
